package com.haoan.index.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haoan.common.annotation.Excel;
import com.haoan.index.base.BaseEntity;

/**
 * 视频对象 web_video
 *
 * @author autoGen
 * @date 2025-01-03
 */
@Data
@Schema(description = "视频")
@TableName("web_video")
public class Video extends BaseEntity implements Serializable
        {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "PK_web_video")
    @ApiParam(name = "id",value = "PK_web_video")
    private Long id;

    /** 标题 */
    @Schema(description = "视频-标题")
    @ApiParam(name = "title",value = "视频-标题")
    @Excel(name = "标题")
    @TableField(value = "`title`")
    private String title;

    /** 中文日期 */
    @Schema(description = "视频-中文日期")
    @ApiParam(name = "chineseTime",value = "视频-中文日期")
    @Excel(name = "中文日期")
    @TableField(value = "`chinese_time`")
    private String chineseTime;

    /** 文本 */
    @Schema(description = "视频-文本")
    @ApiParam(name = "writing",value = "视频-文本")
    @Excel(name = "文本")
    @TableField(value = "`writing`")
    private String writing;

    /** 视频 */
    @Schema(description = "视频-视频")
    @ApiParam(name = "video",value = "视频-视频")
    @Excel(name = "视频")
    @TableField(value = "`video`")
    private String video;

    /** 创建时间 */
    @TableField(value = "`create_time`")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "`create_by`", fill = FieldFill.INSERT)
    private String createBy;

    /** 修改时间 */
    @TableField(value = "`update_time`")
    private Date updateTime;

    /** 修改人 */
    @TableField(value = "`update_by`", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /** 有效标志1有效0无效(无效数据任何地方不可见) */
    @Schema(description = "视频-有效标志1有效0无效(无效数据任何地方不可见)")
    @ApiParam(name = "valiFlag",value = "视频-有效标志1有效0无效(无效数据任何地方不可见)")
    @Excel(name = "有效标志1有效0无效(无效数据任何地方不可见)")
    @TableField(value = "`vali_flag`")
    private Integer valiFlag;

    @TableField(exist = false)
    private String type;
}

